Optimal. Leaf size=1038 \[ \frac {b (e+f x)^3}{a^2 d}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d}+\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d}-\frac {3 b f (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right )}{a^2 d^2}-\frac {3 f^3 \text {PolyLog}\left (2,-e^{c+d x}\right )}{a d^4}-\frac {3 f (e+f x)^2 \text {PolyLog}\left (2,-e^{c+d x}\right )}{2 a d^2}-\frac {3 b^2 f (e+f x)^2 \text {PolyLog}\left (2,-e^{c+d x}\right )}{a^3 d^2}+\frac {3 f^3 \text {PolyLog}\left (2,e^{c+d x}\right )}{a d^4}+\frac {3 f (e+f x)^2 \text {PolyLog}\left (2,e^{c+d x}\right )}{2 a d^2}+\frac {3 b^2 f (e+f x)^2 \text {PolyLog}\left (2,e^{c+d x}\right )}{a^3 d^2}-\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^2}+\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {PolyLog}\left (2,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^2}-\frac {3 b f^2 (e+f x) \text {PolyLog}\left (2,e^{2 (c+d x)}\right )}{a^2 d^3}+\frac {3 f^2 (e+f x) \text {PolyLog}\left (3,-e^{c+d x}\right )}{a d^3}+\frac {6 b^2 f^2 (e+f x) \text {PolyLog}\left (3,-e^{c+d x}\right )}{a^3 d^3}-\frac {3 f^2 (e+f x) \text {PolyLog}\left (3,e^{c+d x}\right )}{a d^3}-\frac {6 b^2 f^2 (e+f x) \text {PolyLog}\left (3,e^{c+d x}\right )}{a^3 d^3}+\frac {6 b \sqrt {a^2+b^2} f^2 (e+f x) \text {PolyLog}\left (3,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^3}-\frac {6 b \sqrt {a^2+b^2} f^2 (e+f x) \text {PolyLog}\left (3,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^3}+\frac {3 b f^3 \text {PolyLog}\left (3,e^{2 (c+d x)}\right )}{2 a^2 d^4}-\frac {3 f^3 \text {PolyLog}\left (4,-e^{c+d x}\right )}{a d^4}-\frac {6 b^2 f^3 \text {PolyLog}\left (4,-e^{c+d x}\right )}{a^3 d^4}+\frac {3 f^3 \text {PolyLog}\left (4,e^{c+d x}\right )}{a d^4}+\frac {6 b^2 f^3 \text {PolyLog}\left (4,e^{c+d x}\right )}{a^3 d^4}-\frac {6 b \sqrt {a^2+b^2} f^3 \text {PolyLog}\left (4,-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^4}+\frac {6 b \sqrt {a^2+b^2} f^3 \text {PolyLog}\left (4,-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^4} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 1.52, antiderivative size = 1038, normalized size of antiderivative = 1.00, number of steps
used = 67, number of rules used = 22, integrand size = 34, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.647, Rules used = {5706, 5565,
4267, 2611, 6744, 2320, 6724, 4271, 2317, 2438, 5688, 3801, 3797, 2221, 32, 5704, 5558, 3377,
2717, 5684, 3403, 2296} \begin {gather*} -\frac {3 \text {Li}_2\left (-e^{c+d x}\right ) f^3}{a d^4}+\frac {3 \text {Li}_2\left (e^{c+d x}\right ) f^3}{a d^4}+\frac {3 b \text {Li}_3\left (e^{2 (c+d x)}\right ) f^3}{2 a^2 d^4}-\frac {6 b^2 \text {Li}_4\left (-e^{c+d x}\right ) f^3}{a^3 d^4}-\frac {3 \text {Li}_4\left (-e^{c+d x}\right ) f^3}{a d^4}+\frac {6 b^2 \text {Li}_4\left (e^{c+d x}\right ) f^3}{a^3 d^4}+\frac {3 \text {Li}_4\left (e^{c+d x}\right ) f^3}{a d^4}-\frac {6 b \sqrt {a^2+b^2} \text {Li}_4\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) f^3}{a^3 d^4}+\frac {6 b \sqrt {a^2+b^2} \text {Li}_4\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) f^3}{a^3 d^4}-\frac {6 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right ) f^2}{a d^3}-\frac {3 b (e+f x) \text {Li}_2\left (e^{2 (c+d x)}\right ) f^2}{a^2 d^3}+\frac {6 b^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right ) f^2}{a^3 d^3}+\frac {3 (e+f x) \text {Li}_3\left (-e^{c+d x}\right ) f^2}{a d^3}-\frac {6 b^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right ) f^2}{a^3 d^3}-\frac {3 (e+f x) \text {Li}_3\left (e^{c+d x}\right ) f^2}{a d^3}+\frac {6 b \sqrt {a^2+b^2} (e+f x) \text {Li}_3\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) f^2}{a^3 d^3}-\frac {6 b \sqrt {a^2+b^2} (e+f x) \text {Li}_3\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) f^2}{a^3 d^3}-\frac {3 (e+f x)^2 \text {csch}(c+d x) f}{2 a d^2}-\frac {3 b (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right ) f}{a^2 d^2}-\frac {3 b^2 (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right ) f}{a^3 d^2}-\frac {3 (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right ) f}{2 a d^2}+\frac {3 b^2 (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right ) f}{a^3 d^2}+\frac {3 (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right ) f}{2 a d^2}-\frac {3 b \sqrt {a^2+b^2} (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right ) f}{a^3 d^2}+\frac {3 b \sqrt {a^2+b^2} (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right ) f}{a^3 d^2}+\frac {b (e+f x)^3}{a^2 d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (\frac {e^{c+d x} b}{a-\sqrt {a^2+b^2}}+1\right )}{a^3 d}+\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (\frac {e^{c+d x} b}{a+\sqrt {a^2+b^2}}+1\right )}{a^3 d} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 32
Rule 2221
Rule 2296
Rule 2317
Rule 2320
Rule 2438
Rule 2611
Rule 2717
Rule 3377
Rule 3403
Rule 3797
Rule 3801
Rule 4267
Rule 4271
Rule 5558
Rule 5565
Rule 5684
Rule 5688
Rule 5704
Rule 5706
Rule 6724
Rule 6744
Rubi steps
\begin {align*} \int \frac {(e+f x)^3 \coth ^2(c+d x) \text {csch}(c+d x)}{a+b \sinh (c+d x)} \, dx &=\frac {\int (e+f x)^3 \coth ^2(c+d x) \text {csch}(c+d x) \, dx}{a}-\frac {b \int \frac {(e+f x)^3 \coth ^2(c+d x)}{a+b \sinh (c+d x)} \, dx}{a}\\ &=\frac {\int (e+f x)^3 \text {csch}(c+d x) \, dx}{a}+\frac {\int (e+f x)^3 \text {csch}^3(c+d x) \, dx}{a}-\frac {b \int (e+f x)^3 \coth ^2(c+d x) \, dx}{a^2}+\frac {b^2 \int \frac {(e+f x)^3 \cosh (c+d x) \coth (c+d x)}{a+b \sinh (c+d x)} \, dx}{a^2}\\ &=-\frac {2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {\int (e+f x)^3 \text {csch}(c+d x) \, dx}{2 a}-\frac {b \int (e+f x)^3 \, dx}{a^2}+\frac {b^2 \int (e+f x)^3 \cosh (c+d x) \coth (c+d x) \, dx}{a^3}-\frac {b^3 \int \frac {(e+f x)^3 \cosh ^2(c+d x)}{a+b \sinh (c+d x)} \, dx}{a^3}-\frac {(3 f) \int (e+f x)^2 \log \left (1-e^{c+d x}\right ) \, dx}{a d}+\frac {(3 f) \int (e+f x)^2 \log \left (1+e^{c+d x}\right ) \, dx}{a d}-\frac {(3 b f) \int (e+f x)^2 \coth (c+d x) \, dx}{a^2 d}+\frac {\left (3 f^2\right ) \int (e+f x) \text {csch}(c+d x) \, dx}{a d^2}\\ &=\frac {b (e+f x)^3}{a^2 d}-\frac {b (e+f x)^4}{4 a^2 f}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {3 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{a d^2}+\frac {3 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{a d^2}+\frac {b \int (e+f x)^3 \, dx}{a^2}+\frac {b^2 \int (e+f x)^3 \text {csch}(c+d x) \, dx}{a^3}-\frac {\left (b \left (a^2+b^2\right )\right ) \int \frac {(e+f x)^3}{a+b \sinh (c+d x)} \, dx}{a^3}+\frac {(3 f) \int (e+f x)^2 \log \left (1-e^{c+d x}\right ) \, dx}{2 a d}-\frac {(3 f) \int (e+f x)^2 \log \left (1+e^{c+d x}\right ) \, dx}{2 a d}+\frac {(6 b f) \int \frac {e^{2 (c+d x)} (e+f x)^2}{1-e^{2 (c+d x)}} \, dx}{a^2 d}+\frac {\left (6 f^2\right ) \int (e+f x) \text {Li}_2\left (-e^{c+d x}\right ) \, dx}{a d^2}-\frac {\left (6 f^2\right ) \int (e+f x) \text {Li}_2\left (e^{c+d x}\right ) \, dx}{a d^2}-\frac {\left (3 f^3\right ) \int \log \left (1-e^{c+d x}\right ) \, dx}{a d^3}+\frac {\left (3 f^3\right ) \int \log \left (1+e^{c+d x}\right ) \, dx}{a d^3}\\ &=\frac {b (e+f x)^3}{a^2 d}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {3 b f (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right )}{a^2 d^2}-\frac {3 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{2 a d^2}+\frac {3 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{2 a d^2}+\frac {6 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a d^3}-\frac {6 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a d^3}-\frac {\left (2 b \left (a^2+b^2\right )\right ) \int \frac {e^{c+d x} (e+f x)^3}{-b+2 a e^{c+d x}+b e^{2 (c+d x)}} \, dx}{a^3}-\frac {\left (3 b^2 f\right ) \int (e+f x)^2 \log \left (1-e^{c+d x}\right ) \, dx}{a^3 d}+\frac {\left (3 b^2 f\right ) \int (e+f x)^2 \log \left (1+e^{c+d x}\right ) \, dx}{a^3 d}-\frac {\left (3 f^2\right ) \int (e+f x) \text {Li}_2\left (-e^{c+d x}\right ) \, dx}{a d^2}+\frac {\left (3 f^2\right ) \int (e+f x) \text {Li}_2\left (e^{c+d x}\right ) \, dx}{a d^2}+\frac {\left (6 b f^2\right ) \int (e+f x) \log \left (1-e^{2 (c+d x)}\right ) \, dx}{a^2 d^2}-\frac {\left (3 f^3\right ) \text {Subst}\left (\int \frac {\log (1-x)}{x} \, dx,x,e^{c+d x}\right )}{a d^4}+\frac {\left (3 f^3\right ) \text {Subst}\left (\int \frac {\log (1+x)}{x} \, dx,x,e^{c+d x}\right )}{a d^4}-\frac {\left (6 f^3\right ) \int \text {Li}_3\left (-e^{c+d x}\right ) \, dx}{a d^3}+\frac {\left (6 f^3\right ) \int \text {Li}_3\left (e^{c+d x}\right ) \, dx}{a d^3}\\ &=\frac {b (e+f x)^3}{a^2 d}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {3 b f (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right )}{a^2 d^2}-\frac {3 f^3 \text {Li}_2\left (-e^{c+d x}\right )}{a d^4}-\frac {3 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{2 a d^2}-\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{a^3 d^2}+\frac {3 f^3 \text {Li}_2\left (e^{c+d x}\right )}{a d^4}+\frac {3 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{2 a d^2}+\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{a^3 d^2}-\frac {3 b f^2 (e+f x) \text {Li}_2\left (e^{2 (c+d x)}\right )}{a^2 d^3}+\frac {3 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a d^3}-\frac {3 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a d^3}-\frac {\left (2 b^2 \sqrt {a^2+b^2}\right ) \int \frac {e^{c+d x} (e+f x)^3}{2 a-2 \sqrt {a^2+b^2}+2 b e^{c+d x}} \, dx}{a^3}+\frac {\left (2 b^2 \sqrt {a^2+b^2}\right ) \int \frac {e^{c+d x} (e+f x)^3}{2 a+2 \sqrt {a^2+b^2}+2 b e^{c+d x}} \, dx}{a^3}+\frac {\left (6 b^2 f^2\right ) \int (e+f x) \text {Li}_2\left (-e^{c+d x}\right ) \, dx}{a^3 d^2}-\frac {\left (6 b^2 f^2\right ) \int (e+f x) \text {Li}_2\left (e^{c+d x}\right ) \, dx}{a^3 d^2}-\frac {\left (6 f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3(-x)}{x} \, dx,x,e^{c+d x}\right )}{a d^4}+\frac {\left (6 f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3(x)}{x} \, dx,x,e^{c+d x}\right )}{a d^4}+\frac {\left (3 f^3\right ) \int \text {Li}_3\left (-e^{c+d x}\right ) \, dx}{a d^3}-\frac {\left (3 f^3\right ) \int \text {Li}_3\left (e^{c+d x}\right ) \, dx}{a d^3}+\frac {\left (3 b f^3\right ) \int \text {Li}_2\left (e^{2 (c+d x)}\right ) \, dx}{a^2 d^3}\\ &=\frac {b (e+f x)^3}{a^2 d}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d}+\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d}-\frac {3 b f (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right )}{a^2 d^2}-\frac {3 f^3 \text {Li}_2\left (-e^{c+d x}\right )}{a d^4}-\frac {3 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{2 a d^2}-\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{a^3 d^2}+\frac {3 f^3 \text {Li}_2\left (e^{c+d x}\right )}{a d^4}+\frac {3 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{2 a d^2}+\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{a^3 d^2}-\frac {3 b f^2 (e+f x) \text {Li}_2\left (e^{2 (c+d x)}\right )}{a^2 d^3}+\frac {3 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a d^3}+\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a^3 d^3}-\frac {3 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a d^3}-\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a^3 d^3}-\frac {6 f^3 \text {Li}_4\left (-e^{c+d x}\right )}{a d^4}+\frac {6 f^3 \text {Li}_4\left (e^{c+d x}\right )}{a d^4}+\frac {\left (3 b \sqrt {a^2+b^2} f\right ) \int (e+f x)^2 \log \left (1+\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{a^3 d}-\frac {\left (3 b \sqrt {a^2+b^2} f\right ) \int (e+f x)^2 \log \left (1+\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{a^3 d}+\frac {\left (3 f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3(-x)}{x} \, dx,x,e^{c+d x}\right )}{a d^4}-\frac {\left (3 f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3(x)}{x} \, dx,x,e^{c+d x}\right )}{a d^4}+\frac {\left (3 b f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_2(x)}{x} \, dx,x,e^{2 (c+d x)}\right )}{2 a^2 d^4}-\frac {\left (6 b^2 f^3\right ) \int \text {Li}_3\left (-e^{c+d x}\right ) \, dx}{a^3 d^3}+\frac {\left (6 b^2 f^3\right ) \int \text {Li}_3\left (e^{c+d x}\right ) \, dx}{a^3 d^3}\\ &=\frac {b (e+f x)^3}{a^2 d}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d}+\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d}-\frac {3 b f (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right )}{a^2 d^2}-\frac {3 f^3 \text {Li}_2\left (-e^{c+d x}\right )}{a d^4}-\frac {3 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{2 a d^2}-\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{a^3 d^2}+\frac {3 f^3 \text {Li}_2\left (e^{c+d x}\right )}{a d^4}+\frac {3 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{2 a d^2}+\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{a^3 d^2}-\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^2}+\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^2}-\frac {3 b f^2 (e+f x) \text {Li}_2\left (e^{2 (c+d x)}\right )}{a^2 d^3}+\frac {3 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a d^3}+\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a^3 d^3}-\frac {3 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a d^3}-\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a^3 d^3}+\frac {3 b f^3 \text {Li}_3\left (e^{2 (c+d x)}\right )}{2 a^2 d^4}-\frac {3 f^3 \text {Li}_4\left (-e^{c+d x}\right )}{a d^4}+\frac {3 f^3 \text {Li}_4\left (e^{c+d x}\right )}{a d^4}+\frac {\left (6 b \sqrt {a^2+b^2} f^2\right ) \int (e+f x) \text {Li}_2\left (-\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{a^3 d^2}-\frac {\left (6 b \sqrt {a^2+b^2} f^2\right ) \int (e+f x) \text {Li}_2\left (-\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{a^3 d^2}-\frac {\left (6 b^2 f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3(-x)}{x} \, dx,x,e^{c+d x}\right )}{a^3 d^4}+\frac {\left (6 b^2 f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3(x)}{x} \, dx,x,e^{c+d x}\right )}{a^3 d^4}\\ &=\frac {b (e+f x)^3}{a^2 d}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d}+\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d}-\frac {3 b f (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right )}{a^2 d^2}-\frac {3 f^3 \text {Li}_2\left (-e^{c+d x}\right )}{a d^4}-\frac {3 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{2 a d^2}-\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{a^3 d^2}+\frac {3 f^3 \text {Li}_2\left (e^{c+d x}\right )}{a d^4}+\frac {3 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{2 a d^2}+\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{a^3 d^2}-\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^2}+\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^2}-\frac {3 b f^2 (e+f x) \text {Li}_2\left (e^{2 (c+d x)}\right )}{a^2 d^3}+\frac {3 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a d^3}+\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a^3 d^3}-\frac {3 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a d^3}-\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a^3 d^3}+\frac {6 b \sqrt {a^2+b^2} f^2 (e+f x) \text {Li}_3\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^3}-\frac {6 b \sqrt {a^2+b^2} f^2 (e+f x) \text {Li}_3\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^3}+\frac {3 b f^3 \text {Li}_3\left (e^{2 (c+d x)}\right )}{2 a^2 d^4}-\frac {3 f^3 \text {Li}_4\left (-e^{c+d x}\right )}{a d^4}-\frac {6 b^2 f^3 \text {Li}_4\left (-e^{c+d x}\right )}{a^3 d^4}+\frac {3 f^3 \text {Li}_4\left (e^{c+d x}\right )}{a d^4}+\frac {6 b^2 f^3 \text {Li}_4\left (e^{c+d x}\right )}{a^3 d^4}-\frac {\left (6 b \sqrt {a^2+b^2} f^3\right ) \int \text {Li}_3\left (-\frac {2 b e^{c+d x}}{2 a-2 \sqrt {a^2+b^2}}\right ) \, dx}{a^3 d^3}+\frac {\left (6 b \sqrt {a^2+b^2} f^3\right ) \int \text {Li}_3\left (-\frac {2 b e^{c+d x}}{2 a+2 \sqrt {a^2+b^2}}\right ) \, dx}{a^3 d^3}\\ &=\frac {b (e+f x)^3}{a^2 d}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d}+\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d}-\frac {3 b f (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right )}{a^2 d^2}-\frac {3 f^3 \text {Li}_2\left (-e^{c+d x}\right )}{a d^4}-\frac {3 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{2 a d^2}-\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{a^3 d^2}+\frac {3 f^3 \text {Li}_2\left (e^{c+d x}\right )}{a d^4}+\frac {3 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{2 a d^2}+\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{a^3 d^2}-\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^2}+\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^2}-\frac {3 b f^2 (e+f x) \text {Li}_2\left (e^{2 (c+d x)}\right )}{a^2 d^3}+\frac {3 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a d^3}+\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a^3 d^3}-\frac {3 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a d^3}-\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a^3 d^3}+\frac {6 b \sqrt {a^2+b^2} f^2 (e+f x) \text {Li}_3\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^3}-\frac {6 b \sqrt {a^2+b^2} f^2 (e+f x) \text {Li}_3\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^3}+\frac {3 b f^3 \text {Li}_3\left (e^{2 (c+d x)}\right )}{2 a^2 d^4}-\frac {3 f^3 \text {Li}_4\left (-e^{c+d x}\right )}{a d^4}-\frac {6 b^2 f^3 \text {Li}_4\left (-e^{c+d x}\right )}{a^3 d^4}+\frac {3 f^3 \text {Li}_4\left (e^{c+d x}\right )}{a d^4}+\frac {6 b^2 f^3 \text {Li}_4\left (e^{c+d x}\right )}{a^3 d^4}-\frac {\left (6 b \sqrt {a^2+b^2} f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3\left (\frac {b x}{-a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{a^3 d^4}+\frac {\left (6 b \sqrt {a^2+b^2} f^3\right ) \text {Subst}\left (\int \frac {\text {Li}_3\left (-\frac {b x}{a+\sqrt {a^2+b^2}}\right )}{x} \, dx,x,e^{c+d x}\right )}{a^3 d^4}\\ &=\frac {b (e+f x)^3}{a^2 d}-\frac {6 f^2 (e+f x) \tanh ^{-1}\left (e^{c+d x}\right )}{a d^3}-\frac {(e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a d}-\frac {2 b^2 (e+f x)^3 \tanh ^{-1}\left (e^{c+d x}\right )}{a^3 d}+\frac {b (e+f x)^3 \coth (c+d x)}{a^2 d}-\frac {3 f (e+f x)^2 \text {csch}(c+d x)}{2 a d^2}-\frac {(e+f x)^3 \coth (c+d x) \text {csch}(c+d x)}{2 a d}-\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d}+\frac {b \sqrt {a^2+b^2} (e+f x)^3 \log \left (1+\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d}-\frac {3 b f (e+f x)^2 \log \left (1-e^{2 (c+d x)}\right )}{a^2 d^2}-\frac {3 f^3 \text {Li}_2\left (-e^{c+d x}\right )}{a d^4}-\frac {3 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{2 a d^2}-\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (-e^{c+d x}\right )}{a^3 d^2}+\frac {3 f^3 \text {Li}_2\left (e^{c+d x}\right )}{a d^4}+\frac {3 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{2 a d^2}+\frac {3 b^2 f (e+f x)^2 \text {Li}_2\left (e^{c+d x}\right )}{a^3 d^2}-\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^2}+\frac {3 b \sqrt {a^2+b^2} f (e+f x)^2 \text {Li}_2\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^2}-\frac {3 b f^2 (e+f x) \text {Li}_2\left (e^{2 (c+d x)}\right )}{a^2 d^3}+\frac {3 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a d^3}+\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (-e^{c+d x}\right )}{a^3 d^3}-\frac {3 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a d^3}-\frac {6 b^2 f^2 (e+f x) \text {Li}_3\left (e^{c+d x}\right )}{a^3 d^3}+\frac {6 b \sqrt {a^2+b^2} f^2 (e+f x) \text {Li}_3\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^3}-\frac {6 b \sqrt {a^2+b^2} f^2 (e+f x) \text {Li}_3\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^3}+\frac {3 b f^3 \text {Li}_3\left (e^{2 (c+d x)}\right )}{2 a^2 d^4}-\frac {3 f^3 \text {Li}_4\left (-e^{c+d x}\right )}{a d^4}-\frac {6 b^2 f^3 \text {Li}_4\left (-e^{c+d x}\right )}{a^3 d^4}+\frac {3 f^3 \text {Li}_4\left (e^{c+d x}\right )}{a d^4}+\frac {6 b^2 f^3 \text {Li}_4\left (e^{c+d x}\right )}{a^3 d^4}-\frac {6 b \sqrt {a^2+b^2} f^3 \text {Li}_4\left (-\frac {b e^{c+d x}}{a-\sqrt {a^2+b^2}}\right )}{a^3 d^4}+\frac {6 b \sqrt {a^2+b^2} f^3 \text {Li}_4\left (-\frac {b e^{c+d x}}{a+\sqrt {a^2+b^2}}\right )}{a^3 d^4}\\ \end {align*}
________________________________________________________________________________________
Mathematica [C] Result contains complex when optimal does not.
time = 39.99, size = 5829, normalized size = 5.62 \begin {gather*} \text {Result too large to show} \end {gather*}
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [F]
time = 3.34, size = 0, normalized size = 0.00 \[\int \frac {\left (f x +e \right )^{3} \left (\coth ^{2}\left (d x +c \right )\right ) \mathrm {csch}\left (d x +c \right )}{a +b \sinh \left (d x +c \right )}\, dx\]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 24038 vs.
\(2 (985) = 1970\).
time = 0.62, size = 24038, normalized size = 23.16 \begin {gather*} \text {Too large to display} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] Timed out
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Timed out} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.00 \begin {gather*} \int \frac {{\mathrm {coth}\left (c+d\,x\right )}^2\,{\left (e+f\,x\right )}^3}{\mathrm {sinh}\left (c+d\,x\right )\,\left (a+b\,\mathrm {sinh}\left (c+d\,x\right )\right )} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________